set terminal gif animate delay 1
set output "sinx.gif"
set xrange [0:4*pi]
set yrange [-1:1]
do for [i=0:80]{
	plot sin(x+i*pi/10) linewidth 3 title sprintf("t=%d s",i)
}
set output
